# model
model_name = 'conmh'
use_checkpoint = None
feature_size = 4096
hidden_size = 256
max_frames = 25
nbits = 16
transformer_type = 'small'

# dataset
dataset = 'ucf'
workers = 1
batch_size = 128
mask_prob = 0.5

# train
seed = 1
num_epochs = 350
a = 1.0
temperature = 0.5
tau_plus = 0.1
train_num_sample = 9537

# test
test_batch_size = 128
test_num_sample = 9537 # test是test database的意思
query_num_sample = 3783 # query是test query


# optimizer
optimizer_name = 'AdamW'
schedule ="CosineAnnealingLR" #'StepLR'
lr = 5e-4
min_lr = 1e-5

# path
data_root = '/data1/lianniu/dataset/ucf4/'
home_root = '/data1/lianniu/'

train_feat_path = [data_root + 'ucf_train_feats.h5']
test_feat_path = [data_root + 'ucf_train_feats.h5'] # test是test database的意思
label_path = [data_root + 'ucf_train_labels.mat']
query_feat_path = [data_root + 'ucf_test_feats.h5'] # query是test query
query_label_path = [data_root + 'ucf_test_labels.mat']


save_dir = home_root + 'saved_model/' + "bidirectional_first" + '_' + dataset
file_path = save_dir + '_' + str(nbits) + 'bit'